.button-wrap {
  margin-top: 10px;
}

.project-item {
  margin-top: 6px;
  .icon {
    font-size: 12px;
    color: #6e6e6e;
    cursor: pointer;
    &:hover {
      color: #333;
    }
    & ~ .icon {
      margin-left: 10px;
    }
  }
  .header {
    height: 24px;
    line-height: 24px;
    font-size: 0;
    .open-state {
      display: inline-block;
      height: 24px;
      line-height: 24px;
      vertical-align: top;
      padding: 0 3px;
      cursor: pointer;
      width: 10px;
      overflow: hidden;
      i {
        font-size: 24px;
        transform: scale(0.4) translate(-16px, 0);
        transform-origin: center center;
      }
    }
    .enable {
      display: inline-block;
      vertical-align: top;
      position: relative;
      top: 6px;
      margin-left: 2px;
    }
    .name {
      display: inline-block;
      margin-left: 2px;
      min-width: 100px;
      padding: 4px 6px;
      box-sizing: border-box;
      border: 1px solid transparent;
      vertical-align: top;
      font-size: 14px;
      line-height: 1;
      height: 24px;
      color: #222;
      &:focus,
      &:hover {
        border: 1px solid rgb(231, 231, 231);
      }
    }
    .icon {
      vertical-align: top;
      position: relative;
      top: 6px;
      margin-left: 2px;
    }
  }
  .content {
    max-width: 1000px;
    margin: 6px 18px 0;
    ul {
      border: 1px solid rgb(231, 231, 231);
      min-height: 18px;
      li {
        display: flex;
        flex-direction: row;
        align-items: center;
        padding: 5px;
        & ~ li {
          border-top: 1px solid rgb(231, 231, 231);
        }
        font-size: 12px;
        line-height: 18px;
        word-break: break-all;

        .input-text {
          padding: 3px 6px;
          margin-right: 1em;
        }
      }
      .enable {
        width: 30px;
        text-align: center;
      }

      .input-text {
        display: flex;
        flex-direction: row;
        flex: 1;
        padding: 5px;
        width: 100%;
        box-sizing: border-box;
        border: 1px solid transparent;

        &:focus,
        &:hover {
          border: 1px solid rgb(231, 231, 231);
        }
        
        ~ .input {
          margin-left: 10px;
        }
        select {
          margin-right: 10px;
          height: 18px;
          box-sizing: border-box;
          line-height: 16px;
        }
        div {
          flex: 1;
        }
      }
      .operation {
        width: 35px;
        text-align: center;
      }
    }
  }
  .button-wrap {
    margin-top: 5px;
  }
}

[contenteditable=true] {
  cursor: text;
}

[contenteditable=true]:empty:before {
  content: attr(placeholder);
  display: block; /* For Firefox */
  opacity: 0.5;
}
